package com.prognos.persistence.dao.impl;

import com.prognos.domain.info.SourceDirectory;
import com.prognos.persistence.AbstractDaoSupport;
import com.prognos.persistence.dao.SourceDirectoryDao;
import org.hibernate.SessionFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import javax.transaction.Transactional;

@Repository("SourceDirectoryDao")
@Transactional
public class SourceDirectoryDaoImpl extends AbstractDaoSupport<SourceDirectory, Long> implements SourceDirectoryDao {

    @Autowired
    public SourceDirectoryDaoImpl(SessionFactory sessionFactory) {
        super(SourceDirectory.class, sessionFactory);
    }
}
